11 Custom configuration files
When configuring your web.oauth2 web service to add custom clients, scopes, API resources, and identity resources to allow you to work with the MyID Core API, you can edit arrays in the appsettings.Production.json file for the web.oauth2 web service. Because elements in this array are determined by their index, you must pad the array to the correct size to correspond to the entries in the appsettings.json file and prevent accidentally overwriting other clients.
To simplify this process, and to allow for greater maintainability, you are recommended instead to create separate configuration files for each client, scope, API resource, or identity resource.
You can create custom files for the following:
-
Clients.
-
Scopes.
-
API resources.
-
Identity resources.
See section 11.4, Custom identity resource configuration files.